<?php

namespace S\WeChat\Exception;

/**
 * 微信模块外部错误
 *
 * 微信返回的错误.
 *
 * @package Modules\Wechat\Util\Exception
 */
class External extends Abstraction
{

    const ERROR_FILE = 'wechat_global';

    protected function getCodePrefix()
    {
        return '';
    }

    protected function getCodeMessages()
    {
        return \S\Config::confError(static::ERROR_FILE);
    }

}